




sum = 590
level = sum / 10

if level >= 85:
    print('优秀')
elif level >= 70:
    print('良好')
elif level >= 60:
    print('合格')
else:
    print('不合格')